package com.desmart.renjiao.main.bean;

import com.desmart.renjiao.main.adapter.HomeItemType;

import java.util.List;

public class HomeIcons extends HomeItemType{

    private List<Icon> list;

    public List<Icon> getList() {
        return list;
    }

    public HomeIcons(List<Icon> list) {
        this.list = list;
    }

    public static class Icon{

        private int title;

        private int img;

        private String unRead;

        public Icon(int title, int img) {
            this.title = title;
            this.img = img;
        }

        public int getTitle() {
            return title;
        }

        public int getImg() {
            return img;
        }

        public void setTitle(int title) {
            this.title = title;
        }

        public void setImg(int img) {
            this.img = img;
        }

        public String getUnRead() {
            return unRead;
        }

        public void setUnRead(String unRead) {
            this.unRead = unRead;
        }
    }

    @Override
    public int getItemType() {
        return HomeItemType.ICON;
    }
}
